@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="id" value="${item.id}">

            <div class="row">
                <div class="col-sm-6 b-r">
                    @if('000000' == item.empCode){
                    <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="FulltimeTrainPointsInfoDlg.selectEmp($(this))" underline="true"/>
                    @}else{
                    <#selectUser id="empCode" name="员工编号"  value="${item.empCode}" onclick="FulltimeTrainPointsInfoDlg.selectEmp()" disabled="true" underline="true"/>
                    @}

                    <#YearConInput id="year" name="年度" value="${item.year}" isTime="false" underline="true"/>

                    <#select id="twoLevel" value="${item.twoLevel}" name="二级分类" underline="true">
                        <option value="">--请选择--</option>
                        @ for(twoLevel in twoLevels!){
                        <option value="${twoLevel.name}">${twoLevel.name}</option>
                        @}
                    </#select>

                    <#TimeConInput id="startTime" value="${item.startTime}" name="开始时间" isTime="false" pattern="yyyy-MM-dd" underline="true"/>

                    <#select id="projectLevel" value="${item.projectLevel}" name="项目层级" underline="true">
                        @ for(p in projects!){
                        <option value="${p.name}">${p.name}</option>
                        @}
                    </#select>

                    <#input id="trainsSponsor" value="${item.trainsSponsor}" name="承办单位" underline="true"/>


                    <#input id="testResults" name="考试结果" value="${item.testResults}" underline="true"/>
                    <#input id="credit" disabled="true" value="${item.credit}" name="积分" underline="true"/>
                </div>

                <div class="col-sm-6">
                    <#input id="empName" value="${item.empName}" name="员工姓名" disabled="true" underline="true"/>
                    <#input id="trainingCourse" value="${item.trainingCourse}" name="培训班名称" underline="true"/>

                    <#select id="threeLevel" value="${item.threeLevel}" name="三级分类" underline="true">
                        <option value="${item.threeLevel}">${item.threeLevel}</option>
                    </#select>

                    <#TimeConInput2 id="endTime" value="${item.endTime}" name="结束时间" isTime="false" pattern="yyyy-MM-dd" underline="true"/>
                    <#select id="checkResult" value="${item.checkResult}" name="考核结果" underline="true">
                        @ for(c in checkResults!){
                        <option value="${c.name}">${c.name}</option>
                        @}
                    </#select>
                    <#input id="trainsAddress" value="${item.trainsAddress}" name="培训地点" underline="true"/>
                    <#input id="finishHours" value="${item.finishHours}" name="完成学时" underline="true"/>

                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10 text-center">
                    <button type="submit" class="btn btn-info" onclick="FulltimeTrainPointsInfoDlg.editSubmit()" id="ensure">
                        <i class="fa fa-check"></i>&nbsp;提交
                    </button>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="FulltimeTrainPointsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/train/fulltimeTrainPoints/fulltimeTrainPoints_info.js?v=${version}"></script>
@}
